package com.example.mytayunapi.Service;

import com.example.mytayunapi.Entity.ComplaintsInfo;
import com.example.mytayunapi.Entity.userInfo;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ComplaintsInfoService {
    List<ComplaintsInfo> getComplaintsInfo();

    List<ComplaintsInfo> getComplaintsInfoById(Integer Complaint_id);

    Integer updateComplaintsInfo(ComplaintsInfo complaintsInfo);

    Integer deleteByID(Integer Complaint_id);

    //分页
    PageInfo<ComplaintsInfo> getPageInfo(int pageNum, int pageSize);

}
